package com.bdqn.t350.ch01;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Component;

import java.lang.reflect.Array;
import java.util.Arrays;

@SpringBootApplication
public class Ch01Application {

    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(Ch01Application.class, args);
/*        String[] beanDefinitionNames = run.getBeanDefinitionNames();
        Arrays.sort(beanDefinitionNames);
        for (String beanDefinitionName : beanDefinitionNames) {
            System.out.println(beanDefinitionName);
        }*/
    }

}
